package com.eascs.web.o2o.web.aging.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="wf_node")
public class NodeEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name="id")
	private String id;
	
	@Column(name="task_id")
	private String taskId;
	
	@Column(name="node_name")
	private String nodeName;
	
	@Column(name="auditor_start_date")
	private Date auditorStartDate;
	
	@Column(name="auditor_end_date")
	private Date auditorEndDate;
	
	@Column(name="time_effective")
	private int timeEffective;
	
	@Column(name="used_time")
	private Float usedTime;

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}

	public Date getAuditorStartDate() {
		return auditorStartDate;
	}

	public void setAuditorStartDate(Date auditorStartDate) {
		this.auditorStartDate = auditorStartDate;
	}

	public Date getAuditorEndDate() {
		return auditorEndDate;
	}

	public void setAuditorEndDate(Date auditorEndDate) {
		this.auditorEndDate = auditorEndDate;
	}

	public int getTimeEffective() {
		return timeEffective;
	}

	public void setTimeEffective(int timeEffective) {
		this.timeEffective = timeEffective;
	}

	public Float getUsedTime() {
		return usedTime;
	}

	public void setUsedTime(Float usedTime) {
		this.usedTime = usedTime;
	}
	
}
